
package com.feib.soeasy.service;

import org.springframework.transaction.annotation.Transactional;

import com.feib.soeasy.model.RealAccount;
import com.feib.soeasy.pagination.PaginatedList;


/**
 * @title (#)RealAccountService.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/2/12 create by Jimmy Liu<br>
 */
@Transactional(readOnly = true)
public interface RealAccountService {
    
    public PaginatedList<RealAccount> queryByRealAccount(RealAccount realAccount, PaginatedList<RealAccount> paginationConfig);

    /**
     * @param editRealAccount
     */
    @Transactional(readOnly = false)
    public RealAccount addRealAccount(RealAccount realAccount);
    

    @Transactional(readOnly = false)
    public RealAccount save(RealAccount realAccount);
    
    public RealAccount queryByPk(Long pk);

    /**
     * @param editRealAccount
     */
    @Transactional(readOnly = false)
    public void deleteRealAccount(RealAccount editRealAccount);

    /**
     * @param realAccount
     * @return
     */
    public RealAccount queryByGroupVirtualAccount(RealAccount realAccount);

}
